From c7720d3baaa7bf3cda5c4a31c3f83b35942976c6 Mon Sep 17 00:00:00 2001 From: Boyuan Yang <073plan@gmail.com> Date: Mon, 12 Feb 2018 09:21:31 +0800 Subject: [PATCH] debian: Fix some lintian warnings --- debian/changelog | 15 ++++++++------- debian/rules | 5 +++++ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index ea2aecf..09132ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,12 +8,13 @@ opencc (1.0.5-1) unstable; urgency=medium Thank you for your previous work! * Apply "wrap-and-sort -abst". * d/patches: Refresh patches. + * d/changelog: Remove trailing spaces. * d/control: Use debian-input-method maillist in Maintainer field. * d/control: Use canonical Vcs URL. * d/control: Bump Standards-Version to 4.1.3. * d/control: Bump debhelper compat to v11. - -- Boyuan Yang <073plan@gmail.com> Mon, 12 Feb 2018 09:12:36 +0800 + -- Boyuan Yang <073plan@gmail.com> Mon, 12 Feb 2018 09:21:04 +0800 opencc (1.0.4-4) unstable; urgency=medium @@ -74,7 +75,7 @@ opencc (1.0.2-1) experimental; urgency=medium opencc (0.4.3-2) unstable; urgency=low - * Add the python-opencc package to support the Python binding. + * Add the python-opencc package to support the Python binding. Closes: #694993 * Bump standard version to 3.9.5. @@ -100,7 +101,7 @@ opencc (0.4.0-1) experimental; urgency=low opencc (0.3.0-3) unstable; urgency=low - * Rebuild to + * Rebuild to generate little endian mo file on any arch (Closes: #670016). * add an - before include buildflags.mk @@ -158,7 +159,7 @@ opencc (0.2.0-1) unstable; urgency=low opencc (0.1.2-1) unstable; urgency=low * New upstream release. - * debian/libopencc1.symbols: updated. + * debian/libopencc1.symbols: updated. -- LI Daobing Wed, 22 Sep 2010 20:40:54 +0800 @@ -176,7 +177,7 @@ opencc (0.1.1-1) unstable; urgency=low * debian/watch: use googlecode.debian.net. [ LI Daobing ] - * debian/clean: added. + * debian/clean: added. -- LI Daobing Wed, 11 Aug 2010 22:04:12 +0800 @@ -196,7 +197,7 @@ opencc (0.1.0-1) unstable; urgency=low opencc (0.0.5-1) unstable; urgency=low * New upstream release. - * debain/control: no longer build depends on python. + * debain/control: no longer build depends on python. * debian/opencc.install: move .mo files to libopencc0. * debian/libopencc0.install: install .mo files. * debian/opencc_dict.1: deleted. @@ -215,7 +216,7 @@ opencc (0.0.3-1) unstable; urgency=low * New upstream release. * debian/opencc.install: updated. - * debian/control: opencc depends on libopencc0 at the same version. + * debian/control: opencc depends on libopencc0 at the same version. -- LI Daobing Tue, 22 Jun 2010 19:08:33 +0800 diff --git a/debian/rules b/debian/rules index 8be8925..4d06c4e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,11 @@ #!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 +# see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed # CMake doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to enable the # missing (hardening) flags. -- 2.30.2